package com.elitesland.b2c.tms.convert;

import com.elitesland.b2c.tms.entity.TmsFareTmplAreaDO;
import com.elitesland.b2c.tms.vo.com.TmsFareAreaComVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * <p>
 * 功能说明
 * </p>
 *
 * @author fred
 * @since 2021-02-04 09:44:02
 */
@Mapper
public interface TmsFareTmplAreaConvert {
    TmsFareTmplAreaConvert INSTANCE = Mappers.getMapper(TmsFareTmplAreaConvert.class);

    /**
     * vo转DO
     *
     * @param vo vo信息
     * @return DO
     */
    TmsFareTmplAreaDO vo2DO(TmsFareAreaComVO vo);

    /**
     * DO转VO
     *
     * @param doList do列表
     * @return VO列表
     */
    List<TmsFareAreaComVO> do2VO(List<TmsFareTmplAreaDO> doList);
}